package com.atXiao.common.exception;

import lombok.Data;

@Data
public class NoWareStockException extends RuntimeException {

    private Long skuId;

    public NoWareStockException(String message) {
        super(message);
    }

    public NoWareStockException(Long skuId) {
        super("商品:" + skuId + "库存不足！");
    }


}
